package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.bean.WdContract;
import com.zhuoshi.mapper.WdContractMapper;
import com.zhuoshi.service.WdContractService;
@Service
public class WdContractServiceImpl implements WdContractService {
	@Autowired
	private WdContractMapper contractMapper;
	@Override
	public int deleteByPrimaryKey(String contractId) {
		// TODO Auto-generated method stub
		return contractMapper.deleteByPrimaryKey(contractId);
	}

	@Override
	public int insert(WdContract record) {
		// TODO Auto-generated method stub
		return contractMapper.insert(record);
	}

	@Override
	public int insertSelective(WdContract record) {
		// TODO Auto-generated method stub
		return contractMapper.insertSelective(record);
	}

	@Override
	public WdContract selectByPrimaryKey(String contractId) {
		// TODO Auto-generated method stub
		return contractMapper.selectByPrimaryKey(contractId);
	}

	@Override
	public int updateByPrimaryKeySelective(WdContract record) {
		// TODO Auto-generated method stub
		return contractMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(WdContract record) {
		// TODO Auto-generated method stub
		return contractMapper.updateByPrimaryKey(record);
	}

	@Override
	public WdContract selectContractId(String orderId) {
		// TODO Auto-generated method stub
		return contractMapper.selectContractId(orderId);
	}

	@Override
	public List<WdContract> selectList(WdContract bean) {
		// TODO Auto-generated method stub
		return contractMapper.selectList(bean);
	}

}
